//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Killer Mike & The Mighty Midnight Revival','Kennedy Center Concert Hall','Washington, DC','Tuesday','5/21/2024','8:00 PM','6331591','Killer-Mike---The-Mighty-Midnight-Revival-5-21-2024'],['Hot 107.9 Birthday Bash: Latto, Killer Mike, Boosie BadAzz & Key Glock','State Farm Arena - GA','Atlanta, GA','Saturday','6/22/2024','7:00 PM','6307881','Hot-107-9-Birthday-Bash--Latto--Killer-Mike--Boosie-BadAzz---Key-Glock-6-22-2024'],['Killer Mike & The Mighty Midnight Revival','MTelus','Montreal, Canada','Wednesday','7/3/2024','8:30 PM','6357641','Killer-Mike---The-Mighty-Midnight-Revival-7-3-2024'],['Festival D'ete De Quebec: Killer Mike','Plains Of Abraham','Quebec, Canada','Friday','7/5/2024','TBD','6202151','Festival-D-ete-De-Quebec--Killer-Mike-7-5-2024'],['Killer Mike & The Mighty Midnight Revival','Danforth Music Hall Theatre','Toronto, Canada','Sunday','7/7/2024','7:00 PM','6357640','Killer-Mike---The-Mighty-Midnight-Revival-7-7-2024'],['Killer Mike & The Mighty Midnight Revival','Blue Note - NY','New York, NY','Monday','7/29/2024','8:00 PM','6357617','Killer-Mike---The-Mighty-Midnight-Revival-7-29-2024'],['Killer Mike & The Mighty Midnight Revival','Blue Note - NY','New York, NY','Tuesday','7/30/2024','8:00 PM','6357624','Killer-Mike---The-Mighty-Midnight-Revival-7-30-2024'],['Killer Mike & The Mighty Midnight Revival','Blue Note - NY','New York, NY','Wednesday','7/31/2024','8:00 PM','6357626','Killer-Mike---The-Mighty-Midnight-Revival-7-31-2024'],['Killer Mike & The Mighty Midnight Revival','Majestic Theatre - MI','Detroit, MI','Friday','8/2/2024','9:00 PM','6357642','Killer-Mike---The-Mighty-Midnight-Revival-8-2-2024'],['Killer Mike & The Mighty Midnight Revival','First Avenue','Minneapolis, MN','Monday','8/5/2024','8:00 PM','6357643','Killer-Mike---The-Mighty-Midnight-Revival-8-5-2024'],['Killer Mike & The Mighty Midnight Revival','Ogden Theatre','Denver, CO','Wednesday','8/7/2024','8:00 PM','6357644','Killer-Mike---The-Mighty-Midnight-Revival-8-7-2024'],['Killer Mike & The Mighty Midnight Revival','Ogden Amphitheater','Ogden, UT','Thursday','8/8/2024','5:00 PM','6354728','Killer-Mike---The-Mighty-Midnight-Revival-8-8-2024'],['Outside Lands Music & Arts Festival: Tyler The Creator, The Killers, Sturgill Simpson & The Postal Service - 3 Day Pass','Golden Gate Park','San Francisco, CA','Friday','8/9/2024','TBD','6267170','Outside-Lands-Music---Arts-Festival--Tyler-The-Creator--The-Killers--Sturgill-Simpson---The-Postal-Service---3-Day-Pass-8-9-2024'],['THING Festival: Toro y Moi, Ethel Cain, Killer Mike & Arlo Parks - Saturday','Remlinger Farms - WA','Carnation, WA','Saturday','8/10/2024','12:00 PM','6317643','THING-Festival--Toro-y-Moi--Ethel-Cain--Killer-Mike---Arlo-Parks---Saturday-8-10-2024'],['Oceans Calling Festival: Blink-182, The Killers & Dave Matthews Band - 3 Day Pass','Ocean City Inlet','Ocean City, MD','Friday','9/27/2024','TBD','6257456','Oceans-Calling-Festival--Blink-182--The-Killers---Dave-Matthews-Band---3-Day-Pass-9-27-2024'],['Oceans Calling Festival: The Killers, The Offspring & Rebelution - Saturday (Time: TBD)','Ocean City Inlet','Ocean City, MD','Saturday','9/28/2024','12:00 PM','6257461','Oceans-Calling-Festival--The-Killers--The-Offspring---Rebelution---Saturday--Time--TBD--9-28-2024'],['Killer Mike','The Novo','Los Angeles, CA','Tuesday','10/15/2024','8:00 PM','6357645','Killer-Mike-10-15-2024']],'Killer Mike','http://www.ticketnetwork.com/ticket/Killer-Mike-events.aspx');